<script setup lang="ts">
import {ref, onActivated, onDeactivated} from 'vue'
import SystemSettingsView from "@/apps/admin/components/SystemSettingsView.vue"

const show = ref<boolean>(false)

onActivated(() => {
  show.value = true
})

onDeactivated(() => {
  show.value = false
})
</script>
<template>
  <system-settings-view v-if="show" api="/user/settings"></system-settings-view>
</template>